﻿@model ManufacturerNavigationModel
@using Nop.Web.Models.Catalog;
@if (Model.Manufacturers.Count > 0)
{
    <div class="box">
        <div class="box-heading">
            <span>@T("Manufacturers")</span>
        </div>
        <div class="box-content">
            <div class="block block-manufacturer-navigation box-category">
                <div class="listbox">
                    <ul class="list">
                        @foreach (var manufacturer in Model.Manufacturers)
                        {
                            <li class="@(manufacturer.IsActive ? "active" : "inactive")"><a href="@Url.RouteUrl("Manufacturer", new { SeName = manufacturer.SeName })">@manufacturer.Name</a>
                            </li>
                        }
                    </ul>
                    @if (Model.TotalManufacturers > Model.Manufacturers.Count)
                    {
                        <div class="view-all">
                            <a href="@Url.RouteUrl("ManufacturerList")">@T("Manufacturers.ViewAll")</a>
                        </div>
                    }
                </div>
            </div>
        </div>
    </div>
}